﻿@model IEnumerable<Bordspil.Models.GameInstance>

@{
    ViewBag.Title = "GamesInProgress";
    Layout = "~/Views/Shared/_LayoutForLoggedIn.cshtml";
}

<h2>Leikir í gangi</h2>

@foreach (var game in Model)
{ 
    <div class="GamesVariety">
            <h3>@game.name</h3>
            <h4>Tegund Leiks: @game.gameName</h4>
            @Html.ActionLink("Vera með", "JoinPairGame", "Game", new {id = game.ID }, null)                
    </div>
}


